//
//  ExcellentDetailCell.m
//  Courses
//
//  Created by YiXuePxh on 15/5/21.
//  Copyright (c) 2015年 boyibang. All rights reserved.
//

#import "ExcellentDetailCell.h"
#import "WTFRect.h"
@implementation ExcellentDetailCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
    }
    //设置出事属性
    self.backgroundColor = [UIColor clearColor];
    self.clipsToBounds = YES;
    //显示名称
    _cellTextLabel = [[UILabel alloc]initWithFrame:AutoRectMake(10, 0, DEFAULT_WIDTH - 35, 68,WTFAutoLayoutTypePic)];
    [self.contentView addSubview:_cellTextLabel];
    //下一页图表
    UIImageView* image = [[UIImageView alloc]initWithFrame:AutoRectMake(DEFAULT_WIDTH - 39, 12, 44, 44,WTFAutoLayoutTypePic)];
    [image setImage:[UIImage imageNamed:@"play.png"]];
    image.contentMode = UIViewContentModeScaleAspectFit;
    [self.contentView addSubview:image];
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
